package com.enetiy;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Comboinfo entity. @author MyEclipse Persistence Tools
 */

public class Comboinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private Area area;
	private Users users;
	private Areainfo areainfo;
	private Date buyTime;
	private String descr;
	private Integer status;
	private Integer comboid;
	private String comboName;
	private Double money;
	private Integer wayId;
	private Integer comboUnit;
	private Integer bandwidth;
	private Integer timeLong;
	private Date endTime;
	private Set userinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Comboinfo() {
	}

	/** minimal constructor */
	public Comboinfo(Area area) {
		this.area = area;
	}

	// Property accessors

	public Comboinfo(Area area, Users users, Areainfo areainfo, Date buyTime,
			String descr, Integer status, Integer comboid, String comboName,
			Double money, Integer comboUnit, Integer bandwidth,
			Integer timeLong, Date endTime, Integer wayId) {
		super();
		this.area = area;
		this.users = users;
		this.areainfo = areainfo;
		this.buyTime = buyTime;
		this.descr = descr;
		this.status = status;
		this.comboid = comboid;
		this.comboName = comboName;
		this.money = money;
		this.comboUnit = comboUnit;
		this.bandwidth = bandwidth;
		this.timeLong = timeLong;
		this.endTime = endTime;
		this.wayId = wayId;
	}

	public Integer getId() {
		return this.id;
	}
	
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	

	public Date getBuyTime() {
		return this.buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getDescr() {
		return this.descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getComboid() {
		return this.comboid;
	}

	public void setComboid(Integer comboid) {
		this.comboid = comboid;
	}

	public String getComboName() {
		return this.comboName;
	}

	public void setComboName(String comboName) {
		this.comboName = comboName;
	}

	public Integer getBandwidth() {
		return this.bandwidth;
	}

	public void setBandwidth(Integer bandwidth) {
		this.bandwidth = bandwidth;
	}

	public Integer getTimeLong() {
		return this.timeLong;
	}

	public void setTimeLong(Integer timeLong) {
		this.timeLong = timeLong;
	}

	public Set getUserinfos() {
		return this.userinfos;
	}

	public void setUserinfos(Set userinfos) {
		this.userinfos = userinfos;
	}

	public Areainfo getAreainfo() {
		return areainfo;
	}

	public void setAreainfo(Areainfo areainfo) {
		this.areainfo = areainfo;
	}

	

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	public Integer getWayId() {
		return wayId;
	}
	public void setWayId(Integer wayId) {
		this.wayId = wayId;
	}

	public Integer getComboUnit() {
		return comboUnit;
	}

	public void setComboUnit(Integer comboUnit) {
		this.comboUnit = comboUnit;
	}

}